package com.oswego.dawcs;

import java.util.ArrayList;

import java.util.List;

import android.app.Activity;
import android.content.*;
import android.os.Bundle;
import android.util.Log;

/**
 * Created by wilhelmi on 5/2/14.
 */


public class Template {
    private  int templateId;
    private int themeId;
    private String templateName;

    private ArrayList<ChannelData> channels;



    public Template(int themeId, String templateName, ArrayList<ChannelData> channels) {
        this.themeId = themeId;
        this.templateName = templateName;
        this.channels = channels;
    }

    public Template(int themeId, String templateName){
        this.themeId = themeId;
        this.templateName = templateName;
        channels = new ArrayList<ChannelData>();
    }

    public void addChannel(ChannelData chan){
        channels.add(chan);
    }

    public int getTemplateId() {
        return templateId;
    }

    public void setTemplateId(int templateId) {
        this.templateId = templateId;
    }

    public int getThemeId() {
        return themeId;
    }

    public void setThemeId(int themeId) {
        this.themeId = themeId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public ArrayList<ChannelData> getChannels() {
        return channels;
    }

    public void setChannels(ArrayList<ChannelData> channels) {
        this.channels = channels;
    }
}
